package skewreduce.lib;

public interface ITuple {
	static enum Type {
		STRING,
		BYTE,
		SHORT,
		INTEGER,
		LONG,
		FLOAT,
		DOUBLE
	}
	
	public int arity();
	public Object getValue(int i);
	public Type getType(int i);
	
	public float getFloat(int i);
	public double getDouble(int i);
	public int getInt(int i);
	public long getLong(int i);
	public String getString(int i);
	
	public boolean equals(ITuple o);
}
